package com.tour.sic.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: SIC
 * @description: 实体层 用户积分变化日志表
 * @author: team
 * @create: 2021-04-22 16:25:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Integrallog {
    private Integer id;
    private Integer uid;
    private Integer type;
    private Integer count;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;
}